home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1997 July / EnigmA AMIGA RUN 20 (1997)(G.R. Edizioni)(IT)[!][issue 1997-07 & 08][EAR-CD IV].iso / lightwave / cgplwlist / cgplw00251-00500.txt / 000106_bdupras@bert.eecs.uic.edu_Sun Dec 4 09:47:38 PST 1994.msg < prev    next >
Text File  |  1994-12-25  |  4KB  |  77 lines

  1. Article: 359 of comp.graphics.packages.lightwave
  2. Xref: netcom.com comp.graphics.packages.lightwave:359
  3. Path: netcom.com!ix.netcom.com!netcomsv!netcomsv!sunspot.nosc.mil!newshub.nosc.mil!ihnp4.ucsd.edu!library.ucla.edu!europa.eng.gtefsd.com!howland.reston.ans.net!math.ohio-state.edu!news.acns.nwu.edu!uicvm.uic.edu!news.eecs.uic.edu!bert.eecs.uic.edu!bdupras
  4. From: bdupras@bert.eecs.uic.edu (Brian Dupras)
  5. Newsgroups: comp.graphics.packages.lightwave
  6. Subject: Re: Shadow Mapping
  7. Date: 1 Dec 1994 04:19:58 GMT
  8. Organization: University of Illinois at Chicago
  9. Lines: 60
  10. Distribution: na
  11. Message-ID: <3bjite$3m9@news.eecs.uic.edu>
  12. References: <CzBrGI.6zK@undergrad.math.uwaterloo.ca>     <1fcafcbb.1d8eed55@amuc.mtroyal.ab.ca>
  13. NNTP-Posting-Host: bert.eecs.uic.edu
  14. X-Newsreader: TIN [version 1.2 PL2]
  15.  
  16. Bryan Ewert (604994761@amuc.mtroyal.ab.ca) wrote:
  17. > On 19 Nov 1994 Brian Dupras orated:
  18.  
  19. >  BD> Shadows can be raytraced or "mapped".  Mapped shadows are extremely fast,
  20. >  BD> but not as accurate.  Sometimes, however, the mapped shadows are more
  21. >  BD> desireable visually that traced.
  22.  
  23. > OK -- you're someone who likes shadow mapping...
  24.  
  25. > We have tried to use shadow mapping in our animations.  However, we find
  26. > that the results are not worth it.  The map most often ends up with large
  27. > blocky artifacts.
  28.  
  29. > For example, create a large flat plane on the X & Y axes.  Place a smaller
  30. > plane, extruded just a little, in front of this plane in Layout with a
  31. > small gap between the two. Pivot the box on the Z axis so it is banked
  32. > about 200 in the camera view.  Render this with shadow mapping.
  33.  
  34. > What we experienced was a "stair-stepped" shadow on the rear surface.  This
  35. > was even more undesirable when animated.  Increasing the Shadow Map Size
  36. > decreased the size of the "stair-steps", but we ran out of 32MB of RAM
  37. > before it was acceptable.
  38.  
  39. > Are we missing something?  Or is this a fact of life with shadow mapping?
  40. > And how are you getting effective results from it?
  41.  
  42. >       -- Bryan Ewert
  43. >           JUUL: Animation, Ltd.
  44. >            Member of the Amiga Users of Calgary
  45. >             Look for AMUC's Centennial Scrolling Demo '94 -- coming soon!
  46. >              Internet: bryan_ewert@amuc.mtroyal.ab.ca
  47.  
  48. Disclaimer : I'm speaking from memory.  ;)
  49.  
  50. Well, the key to getting Mapping to work to your advantage is remembering
  51. that the whole map has a fixed "resolution" that you must work with.
  52. There are things you can do to hide the jaggies like "Shadow Fuzziness".
  53. The best trick, though, was shown to me a few months back and I'll try to
  54. re-explain it as best I can.
  55.  
  56. There's an option for the shadow map that either uses the cone angle of
  57. the light to "stretch" the map across the view of the light, or that
  58. allows you to define a square (from the light's point of view) where the
  59. shadow is mapped.  Here's my example :  We created an off-shore oil rig,
  60. and wanted to use shadow mapping with our "sun" light.  Since SM only
  61. works with Spotlights, we had no choice but to use a spotlight REALLY far
  62. away to mimic a distant light.  But, when we looked through the light,
  63. the oil rig (the only important thing in the scene) was merely a spec on
  64. the screen.  When the SM rendered, we got a shadow composed of about ten
  65. or so fuzzy squares.  So, we turned off the "use cone angle" feature and
  66. manually positioned the shadow map box (from the light view) over the
  67. small area that the rig was in.  This cleared up the problem.
  68.  
  69. Again, this is from emory, so I might be a bit confused.  Any LW-Pro
  70. editors out there that can offer more insight?  Or readers for that
  71. matter...
  72.  
  73. Brian
  74. bdupras@bert.eecs.uic.edu
  75.  
  76.  
  77.